package it.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * @author wsx
 * @create 2020-04-15-16:37
 */
@Getter
@Setter
public class UBPageBean {
    private Integer currPage;//当前页
    private Integer totalPage;//总页数
    private Integer totalCount;//总记录数
    private List<Userbook> booksList = new ArrayList<>();//表中数据信息

    @Override
    public String toString() {
        return "UBPageBean{" +
                "currPage=" + currPage +
                ", totalPage=" + totalPage +
                ", totalCount=" + totalCount +
                ", booksList=" + booksList +
                '}';
    }

    public Integer getCurrPage() {
        return currPage;
    }

    public void setCurrPage(Integer currPage) {
        this.currPage = currPage;
    }

    public Integer getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(Integer totalPage) {
        this.totalPage = totalPage;
    }

    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    public List<Userbook> getBooksList() {
        return booksList;
    }

    public void setBooksList(List<Userbook> booksList) {
        this.booksList = booksList;
    }
}
